package com.ruoyi.project.poem.goodsposter.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 今日好物对象 goods_poster
 *
 * @author shixiangwen
 * @date 2021-06-24
 */
public class GoodsPoster extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 标题
     */
    @Excel(name = "标题")
    private String title;

    /**
     * banner图
     */
    @Excel(name = "banner图")
    private String smallBanner;

    @Excel(name = "banner大图")
    private String bigBanner;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long sort;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Integer status;

    /**
     * 跳转类型
     */
    @Excel(name = "跳转类型")
    private Integer targetType;

    /**
     * 跳转值
     */
    @Excel(name = "跳转值")
    private String targetValue;

    /**
     * 创建用户
     */
    @Excel(name = "创建用户")
    private String createUser;

    private String app;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setSmallBanner(String smallBanner) {
        this.smallBanner = smallBanner;
    }

    public String getSmallBanner() {
        return smallBanner;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public Long getSort() {
        return sort;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setTargetType(Integer targetType) {
        this.targetType = targetType;
    }

    public Integer getTargetType() {
        return targetType;
    }

    public void setTargetValue(String targetValue) {
        this.targetValue = targetValue;
    }

    public String getTargetValue() {
        return targetValue;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateUser() {
        return createUser;
    }

    public String getBigBanner() {
        return bigBanner;
    }

    public void setBigBanner(String bigBanner) {
        this.bigBanner = bigBanner;
    }

    public String getApp() {
        return app;
    }

    public void setApp(String app) {
        this.app = app;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("title", getTitle())
                .append("smallBanner", getSmallBanner())
                .append("sort", getSort())
                .append("status", getStatus())
                .append("targetType", getTargetType())
                .append("targetValue", getTargetValue())
                .append("createTime", getCreateTime())
                .append("createUser", getCreateUser())
                .toString();
    }
}
